package com.tuangou.tuangouheader.header.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 
 * @author ycy
 * @email ycy@tuangou.com
 * @date 2021-06-17 09:46:38
 */
@Data
@TableName("tb_group_goods")
public class GroupGoodsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 拼团商品编号
	 */
	@TableId
	private Integer groupId;
	/**
	 * 商品编号
	 */
	private Integer goodsId;
	/**
	 * 拼团名称
	 */
	private String groupName;
	/**
	 * 拼团简介
	 */
	private String groupIntro;
	/**
	 * 活动开始时间
	 */
	private Date startDate;
	/**
	 * 活动结束时间
	 */
	private Date endDate;
	/**
	 * 拼团时效（小时）
	 */
	private Integer limitHours;
	/**
	 * 拼团人数
	 */
	private Integer peopleNum;
	/**
	 * 购买数量限制
	 */
	private Integer limitNum;
	/**
	 * 排序
	 */
	private Integer orders;
	/**
	 * 运费模板
	 */
	private String freightType;
	/**
	 * 活动状态 0：关闭 1：开启
	 */
	private Integer status;
	/**
	 * 商品属性
	 */
	private String goodsSpec;
	/**
	 * 折扣价格
	 */
	private BigDecimal discountPrice;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupIntro() {
		return groupIntro;
	}

	public void setGroupIntro(String groupIntro) {
		this.groupIntro = groupIntro;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getLimitHours() {
		return limitHours;
	}

	public void setLimitHours(Integer limitHours) {
		this.limitHours = limitHours;
	}

	public Integer getPeopleNum() {
		return peopleNum;
	}

	public void setPeopleNum(Integer peopleNum) {
		this.peopleNum = peopleNum;
	}

	public Integer getLimitNum() {
		return limitNum;
	}

	public void setLimitNum(Integer limitNum) {
		this.limitNum = limitNum;
	}

	public Integer getOrders() {
		return orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public String getFreightType() {
		return freightType;
	}

	public void setFreightType(String freightType) {
		this.freightType = freightType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getGoodsSpec() {
		return goodsSpec;
	}

	public void setGoodsSpec(String goodsSpec) {
		this.goodsSpec = goodsSpec;
	}

	public BigDecimal getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(BigDecimal discountPrice) {
		this.discountPrice = discountPrice;
	}
}
